package itdfq.ydd.Structural_Patterns.qiaojie;

/**
 * @Author GocChin
 * @Date 2021/3/31 12:23
 * @Blog: itdfq.com
 * @QQ: 909256107
 */
public class Client {
    public static void main(String[] args) {
        System.out.println("18031210136   杨丹丹");
        Bowl bowl;
        Taste taste;
        bowl= (Bowl) XMLUtil.getBean("bowl");
        taste= (Taste) XMLUtil.getBean("taste");
        taste.setBowl(bowl);
        taste.cook();
    }
}
